/*
* @author dumeng
*/
'use strict'
import request from '@/utils/request'

/**
 * 获取新闻分类
 */
export function queryNewsClassify(data) {
  return request({
    baseURL: '/API-ENTERPRISE-NEWS/',
    url: '/news/newsClassify/getTree',
    method: 'post',
    data
  })
}

// 查询新闻列表
export function getNewsList(data) {
  return request({
    baseURL: '/API-ENTERPRISE-NEWS/',
    url: '/news/newsInfo/queryPage',
    method: 'post',
    data
  })
}
